- body_classes << "single_form"

#single_form

  %h3= t('reset_your_password')

  = form_for @user, :url => admin_password_reset_path(params[:id]) do |f|
    - if @user.errors.any?
      .error_messages
        %h2 Form is invalid
        %ul
          - for message in @user.errors.full_messages
            %li= message
    %p
      %label{:for=>"password"}= t('password')
      = f.password_field :password
    %p
      %label{:for=>"password_confirmation"}= t('password_confirmation')
      = f.password_field :password_confirmation
    .actions= f.submit "Update Password"

  %p.version
  = t('powered_by')
  %a{ :href => "https://github.com/pgharts/trusty-cms" } TrustyCms CMS
  = t('version')
  = TrustyCms.loaded_via_gem? ? "#{TrustyCms::VERSION} (gem)." : "#{TrustyCms::VERSION}."

